home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / ear / mui23dev.lha / MUI / Developer / C / Include / clib / muimaster_protos.h
C/C++ Source or Header  |  1994-12-23  |  2KB  |  49 lines

  1. #ifndef  CLIB_MUIMASTER_PROTOS_H
  2. #define  CLIB_MUIMASTER_PROTOS_H
  3.  
  4. #ifndef EXEC_TYPES_H
  5. #include <exec/types.h>
  6. #endif
  7. #ifndef INTUITION_CLASSES_H
  8. #include <intuition/classes.h>
  9. #endif
  10. #ifndef UTILITY_TAGITEM_H
  11. #include <utility/tagitem.h>
  12. #endif
  13.  
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17.  
  18. /* functions to be used in applications */
  19.  
  20. Object *MUI_NewObjectA         (char *classname,struct TagItem *tags);
  21. Object *MUI_NewObject          (char *classname,Tag tag1,...);
  22. Object *MUI_MakeObjectA        (LONG type,ULONG *params);
  23. Object *MUI_MakeObject         (LONG type,...);
  24. VOID    MUI_DisposeObject      (Object *obj);
  25. LONG    MUI_RequestA           (APTR app,APTR win,LONGBITS flags,char *title,char *gadgets,char *format,APTR params);
  26. LONG    MUI_Request            (APTR app,APTR win,LONGBITS flags,char *title,char *gadgets,char *format,...);
  27. LONG    MUI_Error              (VOID);
  28. APTR    MUI_AllocAslRequest    (unsigned long reqType, struct TagItem *tagList);
  29. APTR    MUI_AllocAslRequestTags(unsigned long reqType, Tag Tag1, ...);
  30. VOID    MUI_FreeAslRequest     (APTR requester );
  31. BOOL    MUI_AslRequest         (APTR requester, struct TagItem *tagList);
  32. BOOL    MUI_AslRequestTags     (APTR requester, Tag Tag1, ...);
  33.  
  34. /* functions to be used with custom classes */
  35.  
  36. LONG                    MUI_SetError         (LONG num);
  37. struct IClass *         MUI_GetClass         (char *classname);
  38. VOID                    MUI_FreeClass        (struct IClass *classptr);
  39. VOID                    MUI_RequestIDCMP     (Object *obj,ULONG flags);
  40. VOID                    MUI_RejectIDCMP      (Object *obj,ULONG flags);
  41. VOID                    MUI_Redraw           (Object *obj,ULONG flags);
  42. struct MUI_CustomClass *MUI_CreateCustomClass(struct Library *base,char *supername,struct MUI_CustomClass *supermcc,int datasize,APTR dispatcher);
  43. BOOL                    MUI_DeleteCustomClass(struct MUI_CustomClass *mcc);
  44.  
  45. #ifdef __cplusplus
  46. }
  47. #endif
  48. #endif /* CLIB_MUIMASTER_PROTOS_H */
  49.